package cn.com.bluemoon.daps.standard.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;

/**
 * 指标标准Excel表头 -统计口径
 * 统计口径
 * 数据源系统	取数逻辑	数仓加工逻辑	数仓模型表
 * @author Jarod.Kong
 * @date 2020/8/27 16:24
 */
@Data
@Accessors
@EqualsAndHashCode
public class IndStdExcelStatisticalCaliberDto  {
    public static final String GROUP_NAME = "统计口径";

    @ApiModelProperty(value = "数据源系统")
    @Excel(name = "数据源系统")
    @Size(max = 50, message = "数据源系统不可大于{max}", groups = {ExcelImportGroup.class})
    private String dataSourceSystem;

    @Size(max = 500, message = "取数逻辑不可大于{max}", groups = {ExcelImportGroup.class})
    @ApiModelProperty(value = "取数逻辑")
    @Excel(name = "取数逻辑")
    private String accessLogic;

    @Size(max = 200, message = "数仓加工逻辑不可大于{max}", groups = {ExcelImportGroup.class})
    @ApiModelProperty(value = "数仓加工逻辑")
    @Excel(name = "数仓加工逻辑")
    private String dataWarehouseMakeLogic;

    @ApiModelProperty(value = "数仓模型名")
    @Excel(name = "数仓模型名")
    private String dataWarehouseModelName;

    @Size(max = 200, message = "数仓模型表不可大于{max}", groups = {ExcelImportGroup.class})
    @ApiModelProperty(value = "数仓模型表")
    @Excel(name = "数仓模型表")
    private String dataWarehouseModel;

}
